<%--
  Created by IntelliJ IDEA.
  User: JXY
  Date: 2024/9/20
  Time: 14:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" import="java.text.*,java.util.*" pageEncoding="UTF-8" %>
<html>
<head>
    <meta http-equiv="content-type" content="text/html" charset="UTF-8">
    <title>使用application内置对象--inputMessage.jsp</title>
    <style>
        #form2 input {
            color: black;
            font-weight: bold;
        }
    </style>
</head>
<body bgcolor="#add8e6">

<form action="checkMessage.jsp" method="post">
    请输入名字：<input type="text" name="name"/><br>
    请输入标题：<input type="text" name="title"/><br>
    请输入内容：
    <textarea cols="40" rows="10" name="message"></textarea>
    <br> <br> <br>
    <input type="submit" value="留言"/>
</form>
<br>
<form id="form2" action="showMessage.jsp" method="post">
    <input type="submit" value="查看留言板"/>
</form>

</body>
</html>
